<template>
  <div>
    <div>
      <h4>补充资料</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="11">
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="激惹事项"
              v-model="pgForm.supplement_information_textarea1">
            </el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="其他疼痛"
              v-model="pgForm.supplement_information_textarea2">
            </el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="vas"
              v-model="pgForm.supplement_information_textarea3">
            </el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="平时/之前做的运动"
              v-model="pgForm.supplement_information_textarea4">
            </el-input>
          </div>
        </el-col>
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="康复诊断"
              v-model="pgForm.supplement_information_textarea5">
            </el-input>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "supplement_info",
  title: "补充资料",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        supplement_information_textarea1: '',
        supplement_information_textarea2: '',
        supplement_information_textarea3: '',
        supplement_information_textarea4: '',
        supplement_information_textarea5: '',
      }
    }
  }
}
</script>

<style scoped>

.el-row {
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
</style>
